﻿Namespace SCS.BusinessEntities
    Public Class Alumno
        Private edadValue As Integer?
        Public Property edad() As Integer?
            Get
                Return edadValue
            End Get
            Set(ByVal value As Integer?)
                If (value < 0 Or value > 120) Then
                    Throw New ApplicationException("not allow")
                End If
                edadValue = value
            End Set
        End Property
        Public Property id As Guid
        Public Property nombre As String
    End Class

End Namespace
